package com.sixth.bean.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * @author ljh
 * @version 1.0
 * @describition:
 * @since 2022/9/9 14:28
 **/

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ChildrenBeanX {
    /**
     * id : 类目管理
     * label : 类目管理
     * children : [{"id":"admin:category:update","label":"编辑","api":"POST /admin/category/update"},{"id":"admin:category:list","label":"查询","api":"GET /admin/category/list"},{"id":"admin:category:read","label":"详情","api":"GET /admin/category/read"},{"id":"admin:category:delete","label":"删除","api":"POST /admin/category/delete"},{"id":"admin:category:create","label":"添加","api":"POST /admin/category/create"}]
     */

    private String id;
    private String label;
    private List<ChildrenBean> children;

    public void setId(String id) {
        this.id = id;
        this.label = id;
    }

}
